package cn.itcast.mobile;

import cn.itcast.entity.Result;

import java.util.Map;

/**
 * Demo class
 *
 * @author gyc
 * @date 2021 /10/17
 */
public interface MobileOrderService {

    /**
     * Submit order result.
     *
     * @param map the map
     * @return the result
     */
    Result submitOrder(Map map);

    /**
     * Find order by id result.
     *
     * @param id the id
     * @return the result
     */
    Result findOrderById(String id);
}
